﻿<%@ Page Language="c#" CodeBehind="DesktopDefault.aspx.cs" AutoEventWireup="false"
    Inherits="ASPNET.DesktopDefault" %>

<%@ Register TagPrefix="it" TagName="Header" Src="~/UserControls/Header.ascx" %>
<%@ Register TagPrefix="it" TagName="Footer" Src="~/UserControls/Footer.ascx" %>
<it:Header Title="Issue Tracker - Login" runat="server" ID="Header1" />
<form runat="server">
<table>
    <tr>
        <td>
            <table cellpadding="4" cellspacing="0">
                <tr>
                    <td>
                        <h1>
                            Account Login</h1>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:label id="lblError" enableviewstate="false" runat="Server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        Username:
                        <asp:requiredfieldvalidator controltovalidate="txtUsername" text="(required)" runat="server"
                            id="RequiredFieldValidator1" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:textbox id="txtUsername" runat="Server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        Password:
                        <asp:requiredfieldvalidator controltovalidate="txtPassword" text="(required)" runat="server"
                            id="RequiredFieldValidator2" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:textbox id="txtPassword" textmode="Password" runat="Server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:checkbox id="chkRemember" text="Remember Login" runat="Server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:button text="sign-in" onclick="Login" runat="server" id="btnLogin" />
                        &nbsp;
                        <asp:button text="register" onclick="Register" causesvalidation="false" runat="server"
                            id="btnRegister" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</form>
<it:Footer runat="server" ID="Footer1" />
